Skip to main content

ListStackEvents

Description

call the ListStackEvents interface to query the resource stack and the events of the resources in the stack.

Request Method

POST

Request Path

/apsara/route/ROS/ListStackEvents

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
ResourceType.NBODYrepeatlistNoALIYUN::ECS::Instancelist of resource types. The maximum value of n is 200.
PageSizeBODYlongNo10the number of rows per page set during paging query. Maximum value: 50. default value: 10.
PageNumberBODYlongNo1the page number of the event list. starting value: 1. default value: 1.
regionIdBODYstringYesNo sample value for this parameter.region id
Status.NBODYrepeatlistNoCREATE_IN_PROGRESSresource status. Value: CREATE_COMPLETE CREATE_FAILED CREATE_IN_PROGRESS UPDATE_IN_PROGRESS UPDATE_FAILED UPDATE_COMPLETE UPDATE_SKIPPED DELETE_IN_PROGRESS DELETE_FAILED CHECK_IN_PROGRESS CHECK_FAILED CHECK_COMPLETE IMPORT_IN_PROGRESS IMPORT_FAILED IMPORT_COMPLETE
RegionIdBODYstringYescn-hangzhouthe region ID to which the resource stack belongs.
LogicalResourceId.NBODYrepeatlistNoWebServerresource logical ID, that is, the name of the resource in the template.
versionBODYstringNo2016-01-01version of api
StackIdBODYstringYes4a6c9851-3b0f-4f5f-b4ca-a14bf691****resource stack ID.

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}